package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserPowerChild;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class UserPowerChildBussiness {

    public static UserPowerChild getUserPowerChild(long userId) {
        return DaoHelper.getUserPowerChildDaoImpl().getUserPowerChild(userId);
    }

    public static boolean addUserChildSite(UserPowerChild userPowerChild) {
        return DaoHelper.getUserPowerChildDaoImpl().add(userPowerChild);
    }

    public static boolean updateUserChildSite(UserPowerChild userPowerChild) {
        return DaoHelper.getUserPowerChildDaoImpl().update(userPowerChild);
    }
}
